package com.jichangxiu.system.mapper;

import com.jichangxiu.system.entity.po.SysMenu;
import com.jichangxiu.system.entity.vo.SysMenuVo;
import com.jichangxiu.framework.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * SysMenuMapper:
 *
 * @author JiChangXiu
 * @create 2024-06-28 13:44:29
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu, SysMenuVo> {

    /**
     * 根据租户ID和用户ID查询系统菜单列表
     *
     * @param tenantId 租户ID
     * @param userId   用户ID
     * @return 系统菜单列表
     */
    public List<SysMenu> listsByUserId(String tenantId, String userId);

}